package com.tal.live.pojo.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.tal.live.annotation.ApiVersion;
import com.tal.live.utils.validator.group.QueryGroup;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * <Description>
 *
 * @author xianliru@100tal.com
 * @version 1.0
 * @createDate 2019/10/16 09:43
 */
@Data
@ApiModel(value = "Documents",description="查询个人列表")
public class DocumentQuery implements Serializable {

    @NotBlank(message="密钥,不能为空", groups = {QueryGroup.class})
    @ApiModelProperty(value="密钥",name="ticket",example="ssss",required=true)
    public String ticket;

    @NotBlank(message="文件类型,不能为空", groups = {QueryGroup.class})
    @ApiModelProperty(value="文件类型",name="tag",example="3",required=true)
    public String tag;

    @ApiModelProperty(value="父级id（默认传0)",name="parentId",example="0")
    public String parentId;

    @ApiModelProperty(value="学科id",name="subjectId",example="0")
    public String subjectId;

    @ApiModelProperty(value="年部id",name="gradeGroupId",example="0")
    public String gradeGroupId;

    @ApiModelProperty(value="起始页码（默认为1）",name="pageNo",example="1")
    public String pageNo;

    @ApiModelProperty(value="每页展示条数（默认为10)",name="papeSize",example="10")
    public String papeSize;
}
